var rolesService = (function () {
    function rolesService(http, route) {
        this.http = http;
        this.route = route;
    }
    rolesService.prototype.getList = function () {
        return this.http({
            method: "GET",
            url: this.route.getUrl("roles")
        });
    };
    return rolesService;
}());
///**
//* Config
//*/
//var moduleName = 'angularUtils.rolesService';
//var DEFAULT_ID = '__default';
///**
// * Module
// */
//var module;
//try {
//    module = angular.module(moduleName);
//} catch (err) {
//    // named module does not exist, so create one
//    module = angular.module(moduleName, []);
//}
app.service("rolesService", ['$http', 'routeService', rolesService]);
